<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@page import="com.java.model.People" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
<%
	People p=new People();
	p.setId(5);
	p.setName("亚瑟");
	p.setAge(20);
	request.setAttribute("p", p);
%>
<h1>姓名:${p.name }</h1>
<h1>编号:${p.id }</h1>
<h1>年龄:${p.age }</h1>
</body>
</html>